package com.aoip.telemetry.telemetry.entity.enums;

/**
 * @author chenbai
 * @version 1.0
 * @date 2021/12/2 10:52
 */
public enum MsgTypeEnum {

    /**
     * 错误类型信息
     **/
    HYDROLOGY("1", "水文"),
    WATER_SOURCE("2", "水资源"),
    GROUNDWATER("3", "地下水")
    ;


    /**
     * 异常编码
     **/
    private String code;
    /**
     * 异常信息
     **/
    private String msg;

    public String getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }

    MsgTypeEnum(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}
